package com.sxpi.course.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * ChapterLesson实体
 * 创建人:yykk<br/>
 * 时间：2022-07-25 20:22:31 <br/>
 * 源码下载：前台代码 git clone https://gitee.com/kekesam/kuangstudy-pug-ui.git
 * 飞哥B站地址：后台代码 git clone https://gitee.com/kekesam/kuangstudy-pug-parent.git
 *
 * @version 1.0.0<br />
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("kss_course_chapter_lesson")
public class ChapterLesson implements java.io.Serializable {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private String title;
    private String content;
    private String tags;
    private String description;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    private Integer isdelete;
    private String htmlcontent;
    private String avatar;
    private String nickname;
    private Integer status;
    private Long userid;
    private Long pid;
    private Long courseid;
    private Integer sorted;
    private String coursetimer;
    private String coursetimersize;
    private String videoid;
    private String videofirstimage;
    private String videolink;
    private String videofilesize;
    private String videotag;
    private String videoplayerheight;
    private String videomp4;
    private String videocategoryid;
    private String videocategorytitle;
    private String videoplayerwidth;
    private String videoswflink;
    private String videooriginal;
    private String videodf;
    private String videoseed;
    private String videostatus;
    private String videotimes;
    private String videocontext;
    private Integer isfree;

    @TableField(exist = false)
    private List<ChapterLesson> childrens;
}